package com.zoop.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.zoop.model.About;
import com.zoop.repository.AboutRepository;
import com.zoop.service.AboutService;

@Component("aboutService")
public class AboutServiceImpl implements AboutService{

	@Autowired
	private AboutRepository aboutRepository;
	
	@Override
	public About save(About about) {
		return aboutRepository.save(about);
	}

	@Override
	public List<About> findAll() {
		return aboutRepository.findAll();
	}

}
